package com.example.entity.vo.PurchaseOrder;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "采购单单身列表vo")
public class PurtdListVo implements Serializable {

    @ApiModelProperty("请购单单身汇总 TB001-TB002-TB003,TB001-TB002-TB003")
    @JsonProperty("purtbSummary")
    private String purtbSummary;

    @ApiModelProperty("序号")
    @JsonProperty("serialId")
    private String TD003;

    @ApiModelProperty("品号")
    @JsonProperty("productId")
    private String TD004;

    @ApiModelProperty("品名")
    @JsonProperty("productName")
    private String TD005;

    @ApiModelProperty("规格")
    @JsonProperty("specification")
    private String TD006;

    @ApiModelProperty("交货仓库")
    @JsonProperty("deliveryWarehouse")
    private String TD007;

    @ApiModelProperty("仓库名称")
    @JsonProperty("warehouseName")
    private String MC002;

    @ApiModelProperty("采购数量")
    @JsonProperty("purchaseNumber")
    private Double TD008;

    @ApiModelProperty("已交数量")
    @JsonProperty("submittedNumber")
    private Double TD015;

    @ApiModelProperty("借入未进货数量")
    @JsonProperty("borrowUnstockedNumber")
    private Double TD048;

    @ApiModelProperty("最低补量")
    @JsonProperty("minSupplement")
    private String MB039;

    @ApiModelProperty("补货倍量")
    @JsonProperty("restockTime")
    private String MB040;

    @ApiModelProperty("请购单位")
    @JsonProperty("unit")
    private String unit;

    @ApiModelProperty("采购单位")
    @JsonProperty("units")
    private String units;

    @ApiModelProperty("计价数量")
    @JsonProperty("valuation")
    private Double TD039;

    @ApiModelProperty("计价单位")
    @JsonProperty("priceUnit")
    private String TD038;

    @ApiModelProperty("采购包装数量")
    @JsonProperty("TD030")
    private Double TD030;

    @ApiModelProperty("已交包装数量")
    @JsonProperty("TD031")
    private Double TD031;

    @ApiModelProperty("借入未进货包装数量")
    @JsonProperty("TD049")
    private Double TD049;

    @ApiModelProperty("包装单位")
    @JsonProperty("packageUnit")
    private String TD032;

    @ApiModelProperty("采购单价")
    @JsonProperty("purchasePrice")
    private Double TD010;

    @ApiModelProperty("税率")
    @JsonProperty("taxRate")
    private Double TD033;

    @ApiModelProperty("采购金额")
    @JsonProperty("purchaseAmount")
    private Double TD011;

    @ApiModelProperty("税前金额")
    @JsonProperty("amountBeforeTax")
    private Double TD034;

    @ApiModelProperty("税额")
    @JsonProperty("tax")
    private Double TD035;

    @ApiModelProperty("预交货日")
    @JsonProperty("preDeliveryDate")
    private String TD012;

    @ApiModelProperty("急料")
    @JsonProperty("urgent")
    private String TD025;

    @ApiModelProperty("备注")
    @JsonProperty("remark")
    private String TD014;

    @ApiModelProperty("结束")
    @JsonProperty("finish")
    private String TD016;

    @ApiModelProperty("参考单别")
    @JsonProperty("referenceType")
    private String TD013;

    @ApiModelProperty("参考单号")
    @JsonProperty("referenceId")
    private String TD021;

    @ApiModelProperty("参考序号")
    @JsonProperty("referenceSerialId")
    private String TD023;

    @ApiModelProperty("请购单别")
    @JsonProperty("purchaseType")
    private String TD026;

    @ApiModelProperty("请购单号")
    @JsonProperty("purchaseId")
    private String TD027;

    @ApiModelProperty("请购序号")
    @JsonProperty("purchaseSerialId")
    private String TD028;

    @ApiModelProperty("制造商")
    @JsonProperty("manufacturer")
    private String TD017;

    @ApiModelProperty("认可型号")
    @JsonProperty("approvedModel")
    private String TD029;

    @ApiModelProperty("赠备品数量")
    @JsonProperty("TDC01")
    private Double TDC01;

    @ApiModelProperty("赠备品包装数量")
    @JsonProperty("TD045")
    private Double TD045;

    @ApiModelProperty("赠备品已交数量")
    @JsonProperty("TDC02")
    private Double TDC02;

    @ApiModelProperty("赠备品已交包装数量")
    @JsonProperty("TD046")
    private Double TD046;

    @ApiModelProperty("到货数量")
    @JsonProperty("arrivalNumber")
    private Double TDC04;

    @ApiModelProperty("到货包装数量")
    @JsonProperty("arrivalPackagingNumber")
    private Double TDC05;

    @ApiModelProperty("品号备注（打印规格）")
    @JsonProperty("invmbRemark")
    private String MB028;

    @ApiModelProperty("请购部门编号")
    @JsonProperty("deptIds")
    private String UDF03;

    @ApiModelProperty("请购部门名称")
    @JsonProperty("deptNames")
    private String UDF04;

    @ApiModelProperty("请购人员编号")
    @JsonProperty("userIds")
    private String UDF05;

    @ApiModelProperty("请购人员名称")
    @JsonProperty("userNames")
    private String UDF06;

    @ApiModelProperty("客户编号订单")
    private String UDF07;

    @ApiModelProperty("请购数量")
    @JsonProperty("pricedNumber")
    private String TB009;

    @ApiModelProperty("库存单位")
    @JsonProperty("inventory")
    private String cz;

    @ApiModelProperty("创建人")
    private String UDF11;

    @ApiModelProperty("修改人")
    private String UDF12;

    @ApiModelProperty("原采购单位")
    private String OriginalPurchaser;

    @ApiModelProperty("参考单号")
    private String referencenumber;

    @TableField(exist = false)
    @ApiModelProperty("历史单价 上下平行判断 当前单价大于历史单价为2,平行为1,小于为0")
    private Integer historicalunitprice;

    @TableField(exist = false)
    @ApiModelProperty("历史单价")
    private Double nuclearPriceLs;

    @ApiModelProperty("税前金额 自定义")
    private Double udf52;

    @ApiModelProperty("税额 自定义")
    private Double udf53;

    @ApiModelProperty("采购总金额 自定义")
    private Double udf54;

    @ApiModelProperty("是否补货")
    private String sfbh;
}
